<template>
    <div>
        <div class="header">
            <img class="logo" :src="logo" />

            <div class="icon-container">
                <div class="mb-1 mr-4">
                    <!-- <uni-icons class="icon" type="person" size="24"></uni-icons> -->
                </div>
                <!-- <uni-icons class="icon" type="bars" size="24"></uni-icons> -->
            </div>
        </div>
        <div class="nav-container">
            <div class="nav">
                <div class="item">
                    <div class="num badge-pill-process">0</div>
                    <div class="text">Envíos en curso</div>
                </div>
                <div class="item">
                    <div class="num badge-pill-success">0</div>
                    <div class="text">Entregado</div>
                </div>
                <div class="item">
                    <div class="num badge-pill-danger">0</div>
                    <div class="text">No Entregado</div>
                </div>
            </div>
        </div>
    </div>
</template>

<script>
import logo from "@/assets/mobile/logo.png";
export default {
    data() {
        return {
            logo,
        };
    },
};
</script>

<style lang="scss" scoped>
.header {
    height: 3.5rem;
    background: #d6001a;
    display: flex;
    /* align-items: center; */
    justify-content: space-between;
    padding: 0.983rem;
    box-sizing: border-box;
}

.logo {
    height: 1.25rem;
}
.icon-container {
    display: flex;
}
.icon-container .icon {
    color: #fff !important;
}
.nav-container {
    padding: 0 10px;
    box-sizing: border-box;
    padding-top: 10px;
}
.nav {
    width: 100%;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
    background: #fff;
    border-radius: 5px;
    display: flex;
    justify-content: space-around;
    padding: 15px 10px;
    box-sizing: border-box;
    margin-bottom: 1.25rem;
}

.item {
    // flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 12px;

    .num {
        font-family: Roboto;
        font-size: 1em;
        width: 26px;
        height: 26px;
        display: flex;
        align-items: center;
        justify-content: center;
        // padding: 0.3rem 0.5rem 0.2rem 0.45rem;
        color: #fff;
        border-radius: 50%;
        margin-bottom: 2px;
    }
    .text {
        font-size: 0.75rem;
        color: rgb(69, 69, 69);
        font-family: Roboto;
    }
    .badge-pill-process {
        border: 1px solid #596291;
        background-color: #596291;
    }
    .badge-pill-success {
        border: 1px solid #a0d491;
        background-color: #a0d491;
    }
    .badge-pill-danger {
        border: 1px solid #e46d6d;
        background-color: #e46d6d;
    }
}

.mb-1 {
    margin-bottom: 0.3125rem !important;
}
.mr-4 {
    margin-right: 1.25rem !important;
}
.mb-4 {
    margin-bottom: 1.25rem !important;
}
</style>
